import BaseEnum from '@/core/utils/BaseEnum'
import BaseEnumValue from '@/core/utils/BaseEnumValue'

class SmsSendRecordStatusEnum extends BaseEnum<string> {
	UNKNOWN = new BaseEnumValue<string>('unknown', '未知')
	WAITING = new BaseEnumValue<string>('waiting', '待发送')
	SENDING = new BaseEnumValue<string>('sending', '发送中')
	SUCCESS = new BaseEnumValue<string>('success', '已成功')
	FAILURE = new BaseEnumValue<string>('failure', '已失败')
	constructor() {
		super(['UNKNOWN', 'WAITING', 'SENDING', 'SUCCESS', 'FAILURE'])
	}
}

const enumModel = new SmsSendRecordStatusEnum()

export default enumModel
